package com.smfx.yxt.common;

import com.smfx.yxt.utils.PropertiesUtil;

public final class Const {

	public static final String SEPARATOR = "/";
	
	public static final String REPLACE_SEPARATOR = "__";
	
	public static final String DEFAULT_IMG_SUFFIX = "jpg";
	
	public static final String DOT = ".";
	
	public final static String OPENID_COOKIE = WechatConfigure.getInstance().getAppid();
	
	public static String rootPath = PropertiesUtil.getProperty(Configuration.getInstance().getEnv() + "_file_upload_path");

	public static final String SYS_USER = "admin";
	
	public static final String SYS_ROLE = "sysRole";
	
	public static final String CACHE_ORGANIZE_DEPART = "organizeDepart";
	public static final String CACHE_SUBJECT = "subject";
	public static final String CACHE_GRADE = "grade";
	public static final String CACHE_TERM = "term";
	
	public static String BASEPATH = PropertiesUtil.getProperty(Configuration.getInstance().getEnv() + "_domain_url");
	
	public final static String STUDENT_ROLE = "/xs";
	
	public final static String TEACHER_ROLE = "/ls";
	
}
